/*
 * @Author: your name
 * @Date: 2021-12-29 17:38:11
 * @LastEditTime: 2022-02-17 14:10:36
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \my-site\vue.config.js
 */
const BundleAnalyzerPlugin = require("webpack-bundle-analyzer")
    .BundleAnalyzerPlugin;
module.exports = {
    devServer: {
        proxy: {
            "/emp": {
                target: "https://183.56.220.231:2020"
            },
            "/api": {
                target: "http://test.my-site.com"
            },
        }
    },
    configureWebpack: {
        // plugins: [new BundleAnalyzerPlugin()],
        // externals: {
        //     vue: "Vue",
        //     vuex: "Vuex",
        //     "vue-router": "VueRouter",
        //     axios:"axios",
        //     // mockjs:"mockjs",
        // }
    },
}